package helen.core.tools;

import java.util.ArrayList;
import java.util.List;

import android.R.bool;
import android.R.integer;
import android.R.string;
import android.content.ContentResolver;
import android.content.Context;
import android.database.Cursor;
import android.graphics.Rect;
import android.provider.ContactsContract.CommonDataKinds.Phone;
import android.text.TextUtils;

public final class Finals 
{
	public static int calculateX(int x,int w)
	{
		return (int)((x/(FinalWindows.final_width*1.0))*w+0.5);
	}
	
	public static int calculateY(int y,int h)
	{
		return (int)((y/(FinalWindows.final_height*1.0))*h+0.5);
	}
	
	public static final class FinalWindows
	{
		public static final int final_width = 480;
		public static final int final_height = 800;
	}
	
}
